package com.ffyc.cemp.services.service;

import com.ffyc.cemp.domain.entity.Movie;
import com.ffyc.cemp.domain.vo.PageVo;

import java.util.List;

public interface IMovieService {
    PageVo<List<Movie>> findAll(int curr, int pageSize);

    List<String> findAllType();
    void addMovie(Movie movie);


    void wordFromDb();

    List<Movie>findByKeywords(String keywords);

    List<Movie>findByDateCurrent(int pageSize);
    List<Movie>hotMovie(int num);
    Movie findById(int movieId);
}
